package com.cn.zengzeng.spbzengzeng.test;

import java.io.IOException;

/**
 * 锁屏
 * @Author: ZhangZengZeng
 * @Date: 2022/10/30 16:49
 */
public class SuoPing {
    public static void main (String[] args) throws IOException {
        Runtime.getRuntime().exec("RunDll32.exe user32.dll,LockWorkStation");
    }
}
